{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "f31e2ff8",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "True\n",
      "True\n",
      "True\n",
      "True\n",
      "True\n",
      "False\n"
     ]
    }
   ],
   "source": [
    "str1 = \"1\"\n",
    "str2 = \"1\"\n",
    "\n",
    "print(str1 == str2)\n",
    "print(str1 is str2)\n",
    "\n",
    "\n",
    "tople1 = (\"1\")\n",
    "tople2 = (\"1\")\n",
    "\n",
    "print(tople1 == tople2)\n",
    "print(tople1 is tople2)\n",
    "\n",
    "arr1 = {\"1\"}\n",
    "arr2 = {\"1\"}\n",
    "\n",
    "print(arr1 == arr2)\n",
    "print(arr1 is arr2)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
